package com.jiaxz.cloud.movie.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.jiaxz.cloud.movie.entity.User;

@FeignClient(name="microservice-simple-provicer-user",fallback=HystrixUserFeign.class)
public interface UserFeignInterface {
	 @RequestMapping(value="/user/findById/{id}",method=RequestMethod.GET)
	 User findById(@PathVariable(name="id") long id);

}
